package com.example.demo.netty.im;

import lombok.Data;

import static com.example.demo.netty.im.Command.LOGIN_REQUEST;

/**
 * @Auther: zwg
 * @Date: 2018/12/18 16:08
 * @Description:
 */
@Data
public class LoginRequestPacket extends Packet {

    private Integer userId;

    private String username;

    private String password;

    @Override
    public Byte getCommand() {
        return LOGIN_REQUEST;
    }
}
